package com.nbst.model;

import org.springframework.stereotype.Component;


public class People {
    private Integer age;
    private Integer tag;
    private String name;

    private String password;
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    public Integer getTag() {
        return tag;
    }

    public void setTag(Integer tag) {
        this.tag = tag;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    @Override
    public String toString() {
        return "People{password="+password+
                ", age=" + age +
                ", name='" + name + '\'' +"tag="+tag+
                '}';
    }
}